package com.mcc.app.group.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.mcc.common.core.domain.entity.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 班组人员对象 group_team_user
 *
 * @author gxy
 * @date 2022-03-22
 */
@ApiModel("班组人员对象")
@Data
public class GroupTeamUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("班组ID")
    private Long teamId;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("用户")
    @TableField(exist = false)
    private SysUser user;

}
